﻿#pragma once
#include "BigDrawing2MoAnimation.h"

class POWERFLOW_MO CBigDrawing2MoAnimation_Theory:
	public CBigDrawing2MoAnimation
{
public:
	CBigDrawing2MoAnimation_Theory(void);
	~CBigDrawing2MoAnimation_Theory(void);

	virtual void OutputDynamicComponentInfo( HBaseView* pHView );

	virtual CString GetActiveLayerMoParams(HBaseView* pHView);
	//sParamsDataֵΪname,type,value,name,type,value,....;
	virtual void UpdatePowerFlowMoParamsValue(HBaseView* pHView,CString sParamsData/*,int nPositive*/); 
	virtual bool DisplayPowerFlowAnimation( HBaseView* pHView );
	virtual bool IsDeviceCloseSwitch(HBaseView* pHView,CDeviceDisplayObj* pDevDis);
	virtual bool StopPowerFlowAnimation( HBaseView* pHView );

	virtual CLayer* GetAnimationFlowLayer(HBaseView* pHView);

protected:
	CString GetDevicePowerLossVarName(CDevice* pDev);
	map<string,double> m_mapVarValue;
};